package com.rzj.book.en;

import javax.persistence.Column;
import javax.persistence.Id;

//部门
public class Dep {

	@Id
	@Column(name = "depId")
    private Long depId;//部门编号
	
    private String name;	//部门名称
	
    private String tele;//部门电话


	public Long getDepId() {
		return depId;
	}

	public void setDepId(Long depId) {
		this.depId = depId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTele() {
		return tele;
	}

	public void setTele(String tele) {
		this.tele = tele;
	}

	public Dep(Long depId, String name, String tele) {
		this.depId = depId;
		this.name = name;
		this.tele = tele;
	}

	public Dep() {
	}
}
